{% block sw_text_editor_table_toolbar %}
<div class="sw-text-editor-table-toolbar">
    {% block sw_text_editor_table_toolbar_buttons %}
    <div class="sw-text-editor-table-toolbar__buttons">

        {% block sw_text_editor_table_toolbar_button_row_before %}
        <div
            class="sw-text-editor-table-toolbar__button"
            role="button"
            tabindex="0"
            @mousedown="onAddRow('before')"
        >
            <mt-icon
                name="regular-insert-row-before"
                size="12"
            />
        </div>
        {% endblock %}

        {% block sw_text_editor_table_toolbar_button_row_after %}
        <div
            class="sw-text-editor-table-toolbar__button"
            role="button"
            tabindex="0"
            @mousedown="onAddRow('after')"
        >
            <mt-icon
                name="regular-insert-row-after"
                size="12"
            />
        </div>
        {% endblock %}

        {% block sw_text_editor_table_toolbar_button_row_delete %}
        <div
            class="sw-text-editor-table-toolbar__button"
            role="button"
            tabindex="0"
            @mousedown="onDeleteRow"
        >
            <mt-icon
                name="regular-delete-row"
                size="12"
            />
        </div>
        {% endblock %}

        {% block sw_text_editor_table_toolbar_button_column_before %}
        <div
            class="sw-text-editor-table-toolbar__button"
            role="button"
            tabindex="0"
            @mousedown="onAddColumn('before')"
        >
            <mt-icon
                name="regular-insert-column-before"
                size="12"
            />
        </div>
        {% endblock %}

        {% block sw_text_editor_table_toolbar_button_column_after %}
        <div
            class="sw-text-editor-table-toolbar__button"
            role="button"
            tabindex="0"
            @mousedown="onAddColumn('after')"
        >
            <mt-icon
                name="regular-insert-column-after"
                size="12"
            />
        </div>
        {% endblock %}

        {% block sw_text_editor_table_toolbar_button_column_delete %}
        <div
            class="sw-text-editor-table-toolbar__button"
            role="button"
            tabindex="0"
            @mousedown="onDeleteColumn"
        >
            <mt-icon
                name="regular-delete-column"
                size="12"
            />
        </div>
        {% endblock %}

        {% block sw_text_editor_table_toolbar_button_table_delete %}
        <div
            class="sw-text-editor-table-toolbar__button"
            role="button"
            tabindex="0"
            @mousedown="onDeleteTable"
        >
            <mt-icon
                name="regular-times"
                size="12"
            />
        </div>
        {% endblock %}
    </div>
    {% endblock %}
</div>
{% endblock %}
